import request from '@/utils/request'

export function queryTodayTrainErrorLevelData(params) {
  return request({
    url: '/analysis/queryTodayTrainErrorLevelData',
    method: 'GET',
    params: params
  })
}

export function queryTodayTrainErrorStatisticsData(params) {
  return request({
    url: '/analysis/queryTodayTrainErrorStatisticsData',
    method: 'GET',
    params: params
  })
}

export function queryTodayTrainAnalysisWeekData(params) {
  return request({
    url: '/analysis/queryTodayTrainAnalysisWeekData',
    method: 'GET',
    params: params
  })
}

export function queryNowTrainCount(params) {
  return request({
    url: '/analysis/queryNowTrainCount',
    method: 'GET',
    params: params
  })
}

export function queryTodayTrainWordWeekData(params) {
  return request({
    url: '/analysis/queryTodayTrainWordWeekData',
    method: 'GET',
    params: params
  })
}

export function newestAnalysisTrainData(params) {
  return request({
    url: '/analysis/newestAnalysisTrainData',
    method: 'GET',
    params: params
  })
}
